package com.buer.storage.business.service;

import com.buer.storage.business.domain.Department;
import com.buer.storage.business.dto.DepartmentDto;

import java.util.List;

//库位管理
public interface DepartmentService {

    //增加库位
    int add(DepartmentDto
                    departmentDto);

    //删除库位
    int delete(Integer departmentId);

    //修改库位
    int update(DepartmentDto departmentDto);

    //查询所有库位
    List<Department> select();
}
